Gene editing in vitro